package com.app.model;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 问题反映
 * </p>
 *
 * @author ghoul
 * @since 2024-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("lm_problem_reflection")
public class ProblemReflection implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 身份证号
     */
    private String idNumber;

    /**
     * 联系电话
     */
    private String phone;

    /**
     * 被反映单位
     */
    private Integer departmentId;

    @TableField(exist = false)
    private String departmentText;

    /**
     * 被反映对象
     */
    private String reflectedObject;

    /**
     * 反映内容
     */
    private String reflectContent;

    /**
     * 举证资料
     */
    private String evidenceMaterials;

    /**
     * 是否匿名0否1是
     */
    private Integer isAnonymous;

    /**
     * 是否删除0否1是
     */
    private Boolean isDel;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Integer inspectionTeam;

}
